FLATPAK DOCUMENT-EX(1) | flatpak document-export | FLATPAK DOCUMENT-EX(1) |
NAME¶
flatpak-document-export - Export a file to a sandboxed application
SYNOPSIS¶
flatpak document-export [OPTION...] FILE
DESCRIPTION¶
Creates a document id for a local file that can be exposed to sandboxed applications, allowing them access to files that they would not otherwise see. The exported files are exposed in a fuse filesystem at /run/user/$UID/doc/.
This command also lets you modify the per-application permissions of the documents, granting or revoking access to the file on a per-application basis.
OPTIONS¶
The following options are understood:
-h, --help
-u, --unique
-t, --transient
-n, --noexist
-a, --app=APPID
-r, --allow-read
--forbid-read
-w, --allow-write
--forbid-write
-d, --allow-delete
--forbid-delete
-g, --allow-grant-permission
--forbid-grant-permission
-v, --verbose
--ostree-verbose
EXAMPLES¶
$ flatpak document-export --app=org.gnome.gedit ~/test.txt
/run/user/1000/doc/e52f9c6a/test.txt
SEE ALSO¶
flatpak(1), flatpak-document-unexport(1), flatpak-document-info(1), flatpak-documents(1)
flatpak |